package schoolWork;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: tao
 * Date: 2023-11-17
 * Time: 15:16
 */
public class Test2 {
    public static void main(String[] args) {
        try {
            int n = 5;
            int x = n / 0;
        } catch (ArithmeticException e) {
            e.printStackTrace();
            System.out.println("算数异常，除数为：0");
        }
    }
}
